import {
	ipcMain,//监听渲染进程事件
} from 'electron'
function sendMessage(){
	return new Promise((result,rejec)=>{
		ipcMain.on("sendMessage",(event,data) => {
			result(data)
		})
	})
}
export default {
	sendMessage,
}